package com.youku.expression.ast;

import com.youku.expression.Token;

public class OpOrAst extends OpAst {

	public OpOrAst(Token op, Ast exp1, Ast exp2) {
		super(op, exp1, exp2);
	}

	@Override
	protected Object operate(Object former, Object latter) {
		return (boolean) former || (boolean) latter;
	}

}
